package org.coolwind.region.model.base;

import java.util.Set;

import javax.persistence.MappedSuperclass;

import org.coolwind.region.model.City;
import org.coolwind.region.model.Country;

@MappedSuperclass
public class BaseProvince {
	private Long id;
	private String name;
	private String desc;
	private Country country;
	private Set<City> citys;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	
	public Country getCountry() {
		return country;
	}
	public void setCountry(Country country) {
		this.country = country;
	}
	public Set<City> getCitys() {
		return citys;
	}
	public void setCitys(Set<City> citys) {
		this.citys = citys;
	}
	

}
